
/*
输入十个数，求它们所有数的和
*/

import java.util.Scanner;

public class Text_7 {
    public static void main(String[] args) {
        Scanner  in=new Scanner (System.in);
        System.out.println("输入十个数");
        double  sum=0;
        for (int i=0;i<10;i++){
            double a=in.nextDouble();
            sum+=a;
        }
        System.out.println(sum);
    }
}
